<table>
	<tbody>
		<tr class="prop">
			<td  class="name"><g:message code="shiro.role.name.label" default="Name" /></td>
			<td  class="value">${fieldValue(bean: roleInstance, field: "name")}</td>
			<td  class="name">&nbsp;</td>
			<td  class="value">&nbsp;</td>
		</tr>
        <tr class="prop">
			<td  class="name"><g:message code="shiro.role.permissions.label" default="Permissions" /></td>
			<td  class="value">
				<ul>
					<g:each in="${roleInstance.permissions.sort()}" status="i" var="permission">
						<li>${permission}</li>
					</g:each>
				</ul>
			</td>
			<td  class="name">&nbsp;</td>
			<td  class="value">&nbsp;</td>
		</tr>
	</tbody>
</table>